<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>我的门户</title>
<meta name="keywords" content="jquery,portal,lightweight,ui,javascript"/>
<meta name="description" content="JPolite is a lightweight portal framework based on jQuery with strong customization features."/>
<meta name="author" content="http://trilancer.wordpress.com/"/>
<link rel="stylesheet" href="<%=path %>/jslib/jpolite214/css/screen.css" type="text/css" media="screen"/>
<link rel="stylesheet" type="text/css" href="<%=path %>/jslib/jpolite214/css/jquery.gritter.css"/>
<link rel="stylesheet" type="text/css" href="<%=path %>/jslib/jpolite214/css/jqModal.css"/>
<link rel="alternate stylesheet" title="classic" href="<%=path %>/jslib/jpolite214/css/style0.css" type="text/css" media="screen"/>
<link rel="alternate stylesheet" title="modern" href="<%=path %>/jslib/jpolite214/css/style1.css" type="text/css" media="screen"/>
<link rel="stylesheet" title="silver" href="<%=path %>/jslib/jpolite214/css/style.css" type="text/css" media="screen"/>
<!-- Sample jQuery UI Theme CSS file from http://jqueryui.com/themeroller/ -->
<link rel="stylesheet" type="text/css" href="<%=path %>/jslib/jpolite214/css/start/jquery-ui-1.7.2.custom.css" media="screen"/>
<!--[if IE]>
	<link rel="stylesheet" href="<%=path %>/jslib/jpolite214/css/ie.css" type="text/css" media="screen"/>
<![endif]-->
</head>
<body >
<div id="header" style="display: none">
	<ul id="main_nav" >
		<li id="t1"><b class="hover"></b></li>
	</ul>
	<div id="info_bar">
		<b id="loading"></b><b id="menu_btn"></b><i class="left hint">Module menu</i>
		<i class="right">
			<b id="maxAll" title="Expand All Modules"></b>
			<b id="minAll" title="Collapse All Modules"></b>
		</i>
		<i class="hint right">Adjust module appearance</i>
	</div>
</div>
<div id="content" class="container">
	<div id="module_menu" class="jqmWindow"></div>
	<c:forEach items="${requestScope.portletlist }" var="portlet">
		<div id="c${portlet.id }" class="cc"></div>
	</c:forEach>
</div>
<!-- A series of hidden module templates carried within the page, which can be modified easily -->
<div class="module_template"><!-- A default template is required here without an ID -->
	<div class="moduleFrame">
		<div class='moduleHeader'>
			<div class='moduleTitle'></div>
			<div class='moduleActions'>
				<b title="刷新" class="actionRefresh"></b>
				<b title="合并" class="actionMin"></b>
				<b title="展开" class="actionMax"></b>
			</div>
		</div>
		<div class='moduleContent'>
			<img src="<%=path %>/jslib/jpolite214/img/loading.gif" alt="加载中..."/> 加载中...
		</div>
	</div>
</div>
<script type="text/javascript">
var _modules={
		${requestScope.modules}
	};
	var _moduleLayout={
		t1:[${requestScope.moduleLayout}]
	};
	var _columnLayout = {
		_default: {bg:'lighter',
			${requestScope.columnLayout}
		}
	}; 
	
	function showTasks(){
		parent.document.getElementById("mainframe").src='<%=path %>/workflow/haslaunched_worklist.jsp?menuModuleId=366&query=true&menuname=%25E4%25BB%25BB%25E5%258A%25A1%25E7%25AE%25A1%25E7%2590%2586';
	}
	
	function showWancheng(){
		parent.document.getElementById("mainframe").src='<%=path %>/junyanstask/wancheng.jsp?menuModuleId=322&query=true&menuname=%25E8%25AF%2595%25E9%25AA%258C%25E8%25BF%259B%25E5%25BA%25A6%25E7%25AE%25A1%25E7%2590%2586';
	}
	
	function showJinxing(){
		parent.document.getElementById("mainframe").src='<%=path %>/junyanstask/jinxing.jsp?menuModuleId=321&query=true&menuname=%25E8%25AF%2595%25E9%25AA%258C%25E8%25BF%259B%25E5%25BA%25A6%25E7%25AE%25A1%25E7%2590%2586';
	}
	
	function showGuoqiyq(){
		parent.document.getElementById("mainframe").src='<%=path %>/equipment/equipment_main_list.jsp?menuModuleId=2191&type=guoqi&query=true&menuname=%25E8%25AE%25BE%25E5%25A4%2587%25E4%25BB%25AA%25E5%2599%25A8%25E7%25BB%25B4%25E6%258A%25A4%25E7%25AE%25A1%25E7%2590%2586';
	}
</script>
<script type="text/javascript" src="<%=path %>/jslib/jpolite214/js/jquery.js"></script>
<script type="text/javascript" src="<%=path %>/jslib/jpolite214/js/jquery.cookie.js"></script>
<script type="text/javascript" src="<%=path %>/jslib/jpolite214/js/jquery-ui-1.7.2.custom.min.js"></script>
<script type="text/javascript" src="<%=path %>/jslib/jpolite214/js/jquery.gritter.js"></script>
<script type="text/javascript" src="<%=path %>/jslib/jpolite214/js/chain-0.2.pack.js"></script>
<script type="text/javascript" src="<%=path %>/jslib/jpolite214/js/jquery.kwicks-1.5.1.pack.js"></script>
<script type="text/javascript" src="<%=path %>/jslib/jpolite214/js/jquery.lavalamp.1.3.2-min.js"></script>
<script type="text/javascript" src="<%=path %>/jslib/jpolite214/js/jqModal.js"></script>
<script type="text/javascript" src="<%=path %>/jslib/jpolite214/js/jpolite.core.js"></script>
<script type="text/javascript" src="<%=path %>/jslib/jpolite214/js/xdo.core.js"></script>
<script type="text/javascript" src="<%=path %>/jslib/jpolite214/js/xdo.data.js"></script>
<script type="text/javascript" src="<%=path %>/jslib/jpolite214/js/jpolite.ext.js"></script>
</body>
</html>